﻿/*
 * @file: IMessage
 * @type: interface
 */
public interface IMessage
{
    Message[] GetMessages(bool allowFilter);
    Message[] GetMessageByOccasionID(int occasionID, bool allowFilter);
    Message GetMessageByMessageID(int messageID, bool allowFilter);
    int InsertMessage(Message message, out int autoNumber);
    int DisableMessage(int messageID, bool isEnable);
    int UpdateMessage(Message message);
}
